package com.example.myyunpan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.myyunpan.entity.domain.UserInfo;
import com.example.myyunpan.entity.dto.SessionShareDto;
import com.example.myyunpan.entity.dto.SessionWebUserDto;
import com.example.myyunpan.entity.query.UserInfoQuery;
import com.example.myyunpan.entity.vo.PaginationResultVO;

/**
* @author 111
* @description 针对表【user_info(用户信息)】的数据库操作Service
* @createDate 2024-10-23 11:41:27
*/
public interface UserInfoService extends IService<UserInfo> {

    void register(String email, String nickName, String password, String emailCode);

    SessionWebUserDto login(String email, String password);

    void resetPwd(String email, String password, String emailCode);

    void updateUserInfoByUserId(UserInfo userInfo, String userId);

    PaginationResultVO findListByParam(UserInfoQuery query);

    void updateUserStatus(String userId, Integer status);

    void changeUserSpace(String userId, Integer changeSpace);

    UserInfo getUserInfoByUserId(String userId);

    SessionWebUserDto qqLogin(String code);
}
